import request from "@/utils/request";
const BASE_URL = "/pms/salaries";
const BASE_LOG_URL = '/pms/salary/logs';

export function createOne(data) {
  return request({
    url: BASE_URL,
    method: "post",
    data: data,
  });
}

export function queryList(params) {
  return request({
    url: BASE_LOG_URL,
    method: "get",
    params: params,
  });
}

